package com.ht.service.impl;


import com.ht.dao.IndexDao;
import com.ht.service.IndexService;
import org.springframework.stereotype.Service;

import javax.annotation.Resource;

@Service
public class IndexServiceImpl  implements IndexService {

    @Resource
    private IndexDao indexDao;

    @Override
    public int countByTask(String empId) {
        return indexDao.countByTask(empId);
    }

    @Override
    public int noByVar(String empId) {
        return indexDao.noByVar(empId);
    }

    @Override
    public int countByWeekly(String empId) {
        return indexDao.countByWeekly(empId);
    }

    @Override
    public int noByWeekly(String empId) {
        return indexDao.noByWeekly(empId);
    }

    @Override
    public int countByChc(String empId) {
        return indexDao.countByChc(empId);
    }

    @Override
    public int noByChc(String empId) {
        return indexDao.noByChc(empId);
    }

    @Override
    public int countNoticeRece(String receiver) {
        return indexDao.countNoticeRece(receiver);
    }

    @Override
    public int notNoticeRece(String receiver) {
        return indexDao.notNoticeRece(receiver);
    }
}
